home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / docs / cmdshlp8 / smtp < prev    next >
Encoding:
Text File  |  1996-06-23  |  4.9 KB  |  136 lines

  1.  
  2. smtp <subcommand>
  3.  
  4.  
  5.      These commands are used for the Simple  Message  Transport
  6.      Protocol  service (that is, mail).
  7.  
  8.     smtp batch [yes | no]
  9.  
  10.      If set smtp will batch the commands into one frame.  When off
  11.      only one command is sent and a response is waited for.  Some old
  12.      and flaky smtp servers cannot handle more than one command at a
  13.      time.  NOS can handle multiple.  If you are not hindered by an
  14.      old smtp server, setting batch reduces bandwidth.
  15.  
  16.  
  17.     smtp bidcheck [ON | off]
  18.  
  19.      Sets or displays status of smtp bidchecking.  Default is ON.
  20.      If ON, incoming messages with dupe bids are rejected, with an
  21.      error message being sent to the sender.
  22.      NOTE: this command was deleted in Jnos 1.10K, as duplicates are
  23.      now merely ignored, and never returned to sender.     
  24.  
  25.  
  26.     smtp dtimeout [<hours>]                             Default: 0
  27.      Displays or sets the number of hours a message will remain in
  28.      the smtp mqueue before being returned to sender.  Delivery attempts
  29.      are made at "smtp timer" intervals.  If <hours> is zero, the message
  30.      remains in mqueue indefinitely.
  31.  
  32.  
  33.     smtp gateway [<hostid> | none]
  34.  
  35.      Displays or sets the host to be used as a "smart" mail relay.
  36.      Any  mail sent to a host not in the domain.txt file or not found
  37.      via a nameserver query, will instead be sent to the gateway for
  38.      forwarding (if defined).  To undefine the gateway, specify "none".
  39.  
  40.  
  41.     smtp kick [<hostname>]
  42.  
  43.      Run through the outgoing mail queue and attempt to deliver any
  44.      pending mail to all systems, or just to <hostname> if specified.
  45.      This command allows the user to "kick" the mail system manually.
  46.      Normally, this command is periodically invoked by a timer whenever
  47.      NOS is running.
  48.  
  49.  
  50.     smtp kill [<jobid>]
  51.  
  52.      Kill <jobid> and delete the message.
  53.  
  54.  
  55.     smtp list
  56.  
  57.      List the current jobs. An "L" means locked and in progress.  It
  58.      is wise to add in autoexec.bat a "del /spool/mqueue/*.lck"
  59.      command.  As of JNOS 1.10 (x16), all '.lck' files are
  60.      automatically deleted on startup.
  61.  
  62.  
  63.     smtp maxclients [<count>]
  64.  
  65.      Displays or sets the maximum number of simultaneous outgoing
  66.      SMTP sessions that will be allowed.  The default is 10.  Reduce
  67.      <count> if network congestion is a problem.
  68.  
  69.  
  70.     smtp maxservers [<count>]
  71.  
  72.      Displays or sets the maximum number of simultaneous incoming
  73.      SMTP sessions that will be allowed.  The default is 0, ie, no
  74.      limit other than the amount of memory available.
  75.  
  76.  
  77.     smtp mode [queue | ROUTE]
  78.  
  79.      Sets the smtp delivery mode.  If 'queue', all messages are left
  80.      in /spool/rqueue for external forwarding and handling.  If
  81.      'route', messages are handled and, if for local, appended to a
  82.      mailbox, or if remote they are forwarded.  Default = 'route'
  83.  
  84.  
  85.     smtp quiet [YES | no]
  86.  
  87.      Enables or disables the inclusion of a beep in the message that
  88.      new mail arrived at this system.  See 'smtp trace' below, to
  89.      enable the printing of a new-mail-arrived message.
  90.  
  91.  
  92.     smtp t4 [<seconds>]
  93.  
  94.      Displays or sets a t4 timer for smtp client (outgoing) sessions
  95.      so that they will disconnect after a period of inactivity and
  96.      prevent lockups.  Default = 0, i.e., no disconnect timeout.
  97.      
  98.  
  99.     smtp tdisc [<seconds>]
  100.  
  101.      Displays or sets a disconect timer for smtp server (incoming) 
  102.      sessions so that they will disconnect after a period of inactivity
  103.      and prevent lockups. Default = 0, i.e., no disconnect timeout.
  104.  
  105.  
  106.     smtp timer [<seconds>]
  107.  
  108.      Displays or sets the interval, between scans of the outbound mail
  109.      queue.  For example, smtp timer 600 will cause the system to
  110.      check for outgoing mail every 10 minutes and attempt to deliver
  111.      anything it finds, subject of course to the smtp maxclients
  112.      limit.  Setting a value of zero disables queue scanning
  113.      altogether.  This value is  recommended  for standalone IP
  114.      gateways that never handle mail, since it saves wear and tear on
  115.      the (floppy) disk drive.  Default = 0
  116.     
  117.  
  118.     smtp trace [<value>]
  119.  
  120.      Displays or sets the trace flag in the SMTP client, allowing you
  121.      to  watch SMTP's conversations as it delivers mail.  Zero (the
  122.      default) disables tracing.  A trace value of 1 just enables the
  123.      "new mail for n5knx from <k5arh@w5ddl.ampr.org>".  Larger values
  124.      produce more voluminous trace output.
  125.      
  126.  
  127.     smtp usemx [yes | NO]
  128.  
  129.      Displays or sets a flag enabling or disabling MX record lookups.
  130.      This can  be enabled if a domain server is available in the near
  131.      distance (reachable).  It should be disabled (default) if no
  132.      domain server is in reach to  satisfy  the MX  query.  Note that
  133.      MX record handling is limited to the five highest-preference hosts.
  134.      Also, the smtp t4 timer must be set, in order to timeout on non-
  135.      responsive hosts.
  136.